<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<%@include file="/commons/etCommonHead.jsp"%>
<script type="text/javascript">
function login(){
	var flag1=myValidate('userName',true);
	var flag2=myValidate('password',true);
	if(flag1&&flag2){
		ajaxForm(false, '', '<%=basePath%>ph/sys/login.do', 'loginForm', login2);
	}
	
}	

function login2(data,divId){
	if(data["flag"]==0){
		window.location.href='<%=basePath%>ph/sys/index.do';
	}else{
		alert(data["message"]);
	}
}

</script>
</head>
<body>
  
<!--Page 9 content-->
      <div class="swiper-slide sliderbg">
      <div class="swiper-container swiper-nested9">
               <div class="swiper-wrapper">
                    <div class="swiper-slide">
                              <div class="slide-inner">
                                        <div class="pages_container" style="margin: 0px 2.5%">
                                        <div align="center" ><img src="<%=basePath%>charisma/img/logo-et.png"></div>
                                        <!-- <h3 class="page_title">登录</h3> -->
                                            <div class="form">
                                            <form id=loginForm action="index.do" method="post">
                                            <label style="float: left;">用户名:</label> <span id="sp_userName"></span>
                                            <input type="text" name="userName" id="userName" value="" class="form_input radius4 txt " />
                                            
                                            <label style="float: left;">密码:</label><span id="sp_password"></span>
                                            <input type="password" name="password" id="password" value="" class="form_input radius4 txt " />
                                            <label class="remember" for="remember" ><input type="checkbox" id="remember" name="remember" value="1"> 记住用户名</label>
											
											<a class="button_11 blue blue_borderbottom radius4" href="javascript:login();">登录</a>
                                            
                                            </form>
                                            </div>

                                            
                                       
                                        <h3>联系我们</h3>    
                                        <a href="tel:123456789" class="call_button radius8">拨打400-021-9999</a>
                                        

                                        <div class="clearfix"></div>
                                        </div>
                                        <!--End of page container-->
                              </div>
                    </div>
              </div>
              <div class="swiper-scrollbar9"></div>
     </div>
     </div>
       
     <!--End of pages--> 

</body>
<%@include file="/commons/etCommonJs.jsp"%>
</html>